package com.zhaoben.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵奔
 * @since 2023-04-19
 */
@Getter
@Setter
@ApiModel(value = "Notice对象", description = "")
public class Notice implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("标题")
  private String name;

  @ApiModelProperty("内容")
  private String content;

  @ApiModelProperty("发布时间")
  private String time;

  @ApiModelProperty("发布人")
  private String user;

  @ApiModelProperty("封面")
  private String img;

  private Integer type;


}
